package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author 小坏
 * @Date 2021/2/4 12:04
 * @Version 1.0
 * @program: 父工程 gulimall 万物起源之地
 */

@FeignClient("gulimall-cart")
public interface CarFeignService {

    //远程调用获取购物项
    @GetMapping("/currentUserCarItems")
     List<OrderItemVo> getCurrentUserCarItems() ;
}
